import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 阿里图标
import "@/assets/font/iconfont.css"

import '@/assets/js/Pushpull'// 推拽
import '@/assets/js/clearEmoij'// 无法输入表情包
// 全局功能
import Site from '@/assets/js/site.js'


// main.js
import edition from '@/assets/js/until';
Vue.prototype.$edition = edition.sortDictionary;
Vue.prototype.$tanHtml = edition.tanHtml;

// 阿里图标
// import "./fonts/iconfont.css"
// 全局样式
import "@/css/index.css"
import "@/css/transition.css"

// element按需加载
import element from '@/assets/js/element'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(element)
// 头部搜索
import TopTitle from "@/components/TopSearch/index.vue"
Vue.component('top_title', TopTitle)
// table列表
import TableList from "@/components/Table/index.vue"
Vue.component('table-list', TableList)
// 分割栏
import FlexLinePI from "@/components/FlexLinePI.vue";
Vue.component('FlexLinePI', FlexLinePI)
// 图片上传
import UploadImg from "@/components/upload/uploadImg.vue";
Vue.component('upload-img', UploadImg)
// 菜单管理下拉选择
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
Vue.component('treeselect', Treeselect)


Vue.config.productionTip = false
// video.js

// 客服助理
import customerservice from "@/components/customerservice/index.vue"
Vue.component('customer_service', customerservice)




import { } from '@/assets/js/hasPermi'
Vue.use(Site);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
